package com.antdesignbackend.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 所有耳标号
 */
@Data
@TableName("t_earmark")
public class EarMark {
    /**
     * 耳标号主键ID
     */
    @TableId(value = "EarMarkId",type = IdType.AUTO)
    private Integer earMarkId;
    /**
     * 进厂记录编号
     */
    @TableField("EntryRecordId")
    private Integer entryRecordId;
    /**
     * 耳标号
     */
    @TableField("EarMarkNo")
    private String earMarkNo;
    /**
     * 状态  0待屠宰 1已屠宰 2已出场
     */
    @TableField("State")
    private Integer state;

}
